<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
    <!-- <mate name="flexibel" content="initial-drl=2"/> -->
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-touch-fullscreen" content="yes">
    <meta name="format-detection" content="telephone=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge,chrome=1">
    <title>我的测算</title>
    <!-- <script>!function(e){function t(a){if(i[a])return i[a].exports;var n=i[a]={exports:{},id:a,loaded:!1};return e[a].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var i={};return t.m=e,t.c=i,t.p="",t(0)}([function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=window;t["default"]=i.flex=function(e,t){var a=e||100,n=t||1,r=i.document,o=navigator.userAgent,d=o.match(/Android[\S\s]+AppleWebkit\/(\d{3})/i),l=o.match(/U3\/((\d+|\.){5,})/i),c=l&&parseInt(l[1].split(".").join(""),10)>=80,p=navigator.appVersion.match(/(iphone|ipad|ipod)/gi),s=i.devicePixelRatio||1;p||d&&d[1]>534||c||(s=1);var u=1/s,m=r.querySelector('meta[name="viewport"]');m||(m=r.createElement("meta"),m.setAttribute("name","viewport"),r.head.appendChild(m)),m.setAttribute("content","width=device-width,user-scalable=no,initial-scale="+u+",maximum-scale="+u+",minimum-scale="+u),r.documentElement.style.fontSize=a/2*s*n+"px"},e.exports=t["default"]}]); flex(100, 1);</script> -->
    <!--[if lt IE 9]>  
        <script src="http://cdn.bootcss.com/html5shiv/r29/html5.js"></script>  
    <![endif]-->
    <script type="text/javascript" src="/zhiming/Public/js/rem.js"></script>
    <link rel="stylesheet" href="/zhiming/Public/css/ZM_share.css"/>
    <script src="/zhiming/Public/js/jquery.min.js"></script>
    <style>
        .public_orders_search {
            overflow: hidden;
            border: 1px solid #d3d3d3;
            margin: 10px;
            border-radius: 5px;
            background: #fff;
            padding: 10px;
            line-height: 24px;
        }
        .public_os_info {
            font-size: 14px;
            color: #333;
            line-height: 24px;
        }
        .public_os_form {
            overflow: hidden;
            margin: 4px 0 10px;
        }
        .public_os_form .input {
            padding-left: 5px;
            box-sizing: border-box;
            float: left;
            height: 35px;
            line-height: 35px;
            border: 1px solid #d7d7d7;
            border-right: none;
            width: 75%;
            border-top-left-radius: 5px;
            border-bottom-left-radius: 5px;
        }
        .public_os_form .btn {
            box-sizing: border-box;
            float: right;
            border-top-right-radius: 5px;
            border-bottom-right-radius: 5px;
            width: 25%;
            height: 35px;
            line-height: 35px;
            background-color: #f90;
            color: #fff;
            font-size: 18px;
            border: none;
        }
        .order_history {position: relative;}
        .oh_tit {
            height: 36px;
            background-color: #dac8b2;
            line-height: 36px;
            text-align: center;
            display: block;
            color: #333;
            margin: 8px 0 4px;
            border-radius: 4px;
        }
        .oh_list {overflow: hidden;}
        .oh_box {border-bottom: 1px solid #ddd;padding: 5px 0;}
        .oh_name {
            position: relative;
            padding-left: 60px;
            overflow: hidden;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            height: 26px;
            line-height: 26px;
            text-align: right;
        }
        .oh_name span {
            position: absolute;
            left: 0;
            top: 0;
            height: 26px;
            width: 60px;
            text-align: left;
        }

        .oh_name .on {color: red;}
        .oncolor{
            color: #0f0;
        }
        .oh_look {
            height: 26px;
            background-color: #F90;
            line-height: 26px;
            text-align: center;
            display: block;
            color: #fff;
            margin: 3px auto 0;
            border-radius: 4px;
            width: 120px;
        }

        .problem_feedback {overflow: hidden;margin: 8px 0;}
        .problem_feedback li {width: 50%;box-sizing: border-box;list-style: none;margin:0 auto;}
        .problem_feedback li a {
            border-radius: 5px;
            text-align: center;
            height: 36px;
            line-height: 36px;
            color: #fff;
            margin: 0 5px;
            display: block;
        }
        .problem_feedback a.btn_back {
            background-color: #cdcdcd;
        }
        .problem_feedback a.after_sales_link {
            background-color: #f66;
        }
        .del_lis{
            width:20px;
            height:20px;
            display: inline-block;
            background-image:url('/zhiming/Public/images/public/del.png');
            background-repeat: no-repeat;
            background-size:100% 100%;
            vertical-align:middle;
        }
    </style>
</head>
<body>
    <style>
  /* 新改头部 */
.omd_header{
    height: 1rem;
    line-height: 1rem;
    overflow: hidden;
    background-color:#ffffff;
}
.omd_back{
    width:1rem;
    height: 1rem;
    float: left;
    background:url('/zhiming/Public/images/public/goHome.png') center no-repeat;
    background-size:0.48rem;;
}
.omd_home{
    color:#de2126;
    font-size:0.3rem;
    position: relative;
    display: inline-block;
    font-weight: bold;
}
.jiantou{
  display: inline-block;
  width:0.17rem;
  height:0.3rem;
  vertical-align: middle;
  background:url('/zhiming/Public/images/public/more.png')  no-repeat;
  background-size:100% 100%;
}
.omd_title{
    font-size:0.3rem;
    color:#666666;  
    position: relative;
    display: inline-block;
}
.omd_menu{
    float:right;
    width:1rem;
    height: 1rem;   
    background:url('/zhiming/Public/images/public/menu.png') center no-repeat;
    background-size:0.52rem;;
    display: none;
}
.omd_order{
    float:right;
    width:1rem;
    height: 1rem;   
    background:url('/zhiming/Public/images/public/mytest.png') center no-repeat;
    background-size:0.52rem;
    display: none;
}
/* omd_menu */
.omd_menu_container{
  height:calc(100Vh - 1rem);
  width:100%;
  position: fixed;
  left:0;
  right: 0;
  bottom:0;
  border-top:2px solid #eeeeee;
  box-sizing: border-box;
  background-color:rgba(255,255,255,0.9);
  display: none;
  transform: translate3d(0,0,0);
  z-index: 99;
}
.omd_menu_container.on{
  display: block;
  opacity: 1;
}
.omd_menu_container.menuShow{
  animation: menuin 0.3s forwards ease-out;
  -webkit-animation: menuin 0.3s forwards ease-out;
}
.omd_menu_container.menuHidden{
  animation: menuOut 0.3s forwards ease-out;
  -webkit-animation: menuOut 0.3s forwards ease-out;
}
@keyframes menuin{
  0%{
    transform: scale(3);
    -webkit-transform: scale(3);
    -ms-transform: scale(3);
    -moz-transform: scale(3);
    opacity: 0;
  }
  100%{
    transform: scale(1);
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    opacity: 1;
  }
}
@keyframes menuOut{
  0%{
    transform: scale(1);
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    opacity: 1;
  }
  100%{
    transform: scale(3);
    -webkit-transform: scale(3);
    -ms-transform: scale(3);
    -moz-transform: scale(3);
    opacity: 0;
  }
}
.omd_menu_wrap{
  margin:0 0.3rem;
}
.omd_menu_ul{
  display: flex;
  flex-wrap: wrap;
}
.omd_menu_li{
  width:calc(100% / 3);
  margin-top:0.1rem;
}
.omd_menu_a{
  display: block;
}
.omd_menu_a figure img{
  width:1.3rem;
  height:1.3rem;
  vertical-align: middle;
  display: block;
  margin:0 auto;
}
.omd_menu_a p{
  font-size:0.36rem;
  color:#333333;
  text-align: center;
  line-height: 1.7;
}
.channel91{
  display: block;
  position: absolute;
  top: .1rem;
  right:.1rem;
  width: .56rem;
  height: 0.55rem;
  background: url('/zhiming/Public/images/public/tp.png') no-repeat center center;
  background-size: 100% 100%;
}

</style>
<!-- 头部 -->
<?php if($_COOKIE['channel']== 'qudao91'): ?><a href="<?php echo U('Index/mycesuan','',false);?>" class="omd_order channel91"></a>
    <?php elseif($_COOKIE['hideAllCsNum']== 1): ?>
    <?php else: ?>
    <header class="omd_header">
        <a href="<?php echo U('Index/index','',false);?>" class="omd_back"></a>
        <a href="<?php echo U('Index/index','',false);?>" class="omd_home">测算大全</a>
        <span class="jiantou"></span>
        <span class="omd_title"><?php echo ($titleName['title']); ?></span>
        <span class="omd_menu"></span>

        <a href="<?php echo U('Index/mycesuan','',false);?>" class="omd_order"></a>

    </header><?php endif; ?>


<!-- menu菜单 -->
<aside class="omd_menu_container">
  <div class="omd_menu_wrap">
    <ul class="omd_menu_ul">
        <li class="omd_menu_li">
            <a href="<?php echo U('Lnyc2020/index','',false);?>" class="omd_menu_a">
                <figure><img src="/zhiming/Public/images/public/v2/menu_01.png" alt=""></figure>
                <p>2020年运势</p>
            </a>
        </li>
      <li class="omd_menu_li">
        <a href="<?php echo U('Bzjp/index','',false);?>" class="omd_menu_a">
          <figure><img src="http://qiniu.ddznzj.com/media/180817/180817174200502.png" alt=""></figure>
          <p>八字精批</p>
        </a>
      </li>
      <li class="omd_menu_li">
        <a href="<?php echo U('Bzsy/index','',false);?>" class="omd_menu_a">
          <figure><img src="http://qiniu.ddznzj.com/media/180817/180817174511370.png" alt=""></figure>
          <p>事业运势</p>
        </a>
      </li>
      <li class="omd_menu_li">
        <a href="<?php echo U('Szjx/index','',false);?>" class="omd_menu_a">
          <figure><img src="http://qiniu.ddznzj.com/media/180817/180817174524905.png" alt=""></figure>
          <p>数字解析</p>
        </a>
      </li>
      <li class="omd_menu_li">
        <a href="<?php echo U('Xmcs/index','',false);?>" class="omd_menu_a">
          <figure><img src="http://qiniu.ddznzj.com/media/180817/180817174547665.png" alt=""></figure>
          <p>姓名详批</p>
        </a>
      </li>
      <li class="omd_menu_li">
        <a href="<?php echo U('Bzcy/index','',false);?>" class="omd_menu_a">
          <figure><img src="http://qiniu.ddznzj.com/media/180817/180817174607455.png" alt=""></figure>
          <p>八字财运</p>
        </a>
      </li>
      <li class="omd_menu_li">
        <a href="<?php echo U('Hyzs/index','',false);?>" class="omd_menu_a">
          <figure><img src="http://qiniu.ddznzj.com/media/180817/180817174614741.png" alt=""></figure>
          <p>婚缘走势</p>
        </a>
      </li>
      <li class="omd_menu_li">
        <a href="<?php echo U('Bzhh/index','',false);?>" class="omd_menu_a">
          <figure><img src="http://qiniu.ddznzj.com/media/180817/180817174148357.png" alt=""></figure>
          <p>八字合婚</p>
        </a>
      </li>
      <li class="omd_menu_li">
        <a href="<?php echo U('Bbqm/index','',false);?>" class="omd_menu_a">
          <figure><img src="/zhiming/Public/images/public/menu_02.png" alt=""></figure>
          <p>宝宝起名</p>
        </a>
      </li>
      <li class="omd_menu_li">
        <a href="<?php echo U('Lath/index','',false);?>" class="omd_menu_a">
          <figure><img src="/zhiming/Public/images/public/menu_03.png" alt=""></figure>
          <p>恋爱桃花运</p>
        </a>
      </li>
      <li class="omd_menu_li">
        <a href="<?php echo U('Xzcs/index','',false);?>" class="omd_menu_a">
          <figure><img src="/zhiming/Public/images/public/menu_04.png" alt=""></figure>
          <p>星盘测算</p>
        </a>
      </li>
      <li class="omd_menu_li">
        <a href="<?php echo U('Pfc/index','',false);?>" class="omd_menu_a">
          <figure><img src="/zhiming/Public/images/public/menu_05.png" alt=""></figure>
          <p>剖腹产择日</p>
        </a>
      </li>
      <li class="omd_menu_li">
        <a href="<?php echo U('Zwds/index','',false);?>" class="omd_menu_a">
          <figure><img src="/zhiming/Public/images/public/menu_06.png" alt=""></figure>
          <p>一生运势</p>
        </a>
      </li>

        <li class="omd_menu_li">
            <a href="<?php echo U('Mrbz/index','',false);?>" class="omd_menu_a">
                <figure><img src="/zhiming/Public/images/public/menu_mrbz.png" alt=""></figure>
                <p>名人八字</p>
            </a>
        </li>
        <li class="omd_menu_li">
            <a href="<?php echo U('Bzhy/index','',false);?>" class="omd_menu_a">
                <figure><img src="/zhiming/Public/images/public/menu_bzhy.png" alt=""></figure>
                <p>八字婚缘</p>
            </a>
        </li>
        <li class="omd_menu_li">
            <a href="<?php echo U('Sndy/index','',false);?>" class="omd_menu_a">
                <figure><img src="/zhiming/Public/images/public/menu_sndy.png" alt=""></figure>
                <p>十年大运</p>
            </a>
        </li>
        <li class="omd_menu_li">
            <a href="<?php echo U('Sssd/index','',false);?>" class="omd_menu_a">
                <figure><img src="/zhiming/Public/images/public/menu_sssd.png" alt=""></figure>
                <p>六道轮回</p>
            </a>
        </li>

    </ul>
  </div>
</aside>
<script>
  $().ready(function(){
    var isHome = "<?php echo ($titleName['number']); ?>";
    if(isHome == '1'){
      $('.omd_menu').show();
      $('.myOrderNav').show();
      $('.omd_order').show();
    }
  });
  $('.omd_menu').on('click',function(){
    var $node = $('.omd_menu_container');
    $('.omd_menu_container').addClass('on');
    $('.omd_menu_container').toggleClass('menuShow');
    if(!$('.omd_menu_container').hasClass('menuShow')){
      $('.omd_menu_container').addClass('menuHidden');
      setTimeout(function(){
        $('.omd_menu_container').removeClass('menuHidden');
        $('.omd_menu_container').removeClass('on');
      },300)
    }
  })
</script>

<script type="text/javascript">
    var orderidnum="<?php echo ($orderidnum); ?>";
    var channel='<?php echo (cookie('channel')); ?>';
    if(orderidnum=='Bzjp'&&channel=='qudao336'){
        console.log('336CS');
        (function() {var octm = document.createElement("script");var h = (("https:" == document.location.protocol) ? "https://" : "http://");octm.src = h+"stat.adintl.cn/h.js";var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(octm, s);})();
    }
</script>





    <div class="zm_banner">
        <!--<a href="&lt;!&ndash;{:U('Bzjp/index','',false)}&ndash;&gt;">-->
         <img src="/zhiming/Public/images/bzjp_img/banner.png" width="100%"/>
        <!--</a>-->
    </div>

    <div class="public_orders_search">
        <div class="public_os_info">温馨提示：请输入订单号进行订单查询</div>
        <div class="public_os_form">

            <form id="form_select" class="J_ajaxForm" action="<?php echo U('Index/select','',false);?>" method="post">
                <input type="text" name="keyword" nolocal="true" placeholder="订单号" class="input">
                <input  type="button" value="查询" class="J_ajax_submit_btn btn">
            </form>

        </div>
        <div class="order_history">
            <div class="oh_tit">订单历史</div>

            <?php if(is_array($arr)): foreach($arr as $key=>$value): if(($value['typeid'] == 61) or ($value['typeid'] > 62) or ($value['typeid'] < 42) and ($value['typeid'] != 20) and ($value['typeid'] != 21) and ($value['typeid'] != 24) and ($value['typeid'] != 37) and ($value['typeid'] != 100) and ($value['typeid'] != 62)): if(($value['status'] < 1) and ($value['typeid'] != 40)): ?><div class="oh_list"><div class="oh_box"><div class="oh_name">
                            <span>测算名：</span><?php echo ($value['username']); ?> 的 <?php if(($value['typeid'] == 0) or ($value['typeid'] == 67) or ($value['typeid'] == 68) or ($value['typeid'] == 69)): ?>八字精批<?php elseif($value['typeid'] == 1): ?>八字合婚<?php elseif($value['typeid'] == 13): ?>紫薇斗数<?php elseif($value['typeid'] == 14): ?>流年运程<?php elseif($value['typeid'] == 15): ?>测终生运
                                                                               <?php elseif($value['typeid'] == 16): ?>婚缘走势<?php elseif($value['typeid'] == 17): ?>八字事业运<?php elseif($value['typeid'] == 18): ?>八字财运<?php elseif($value['typeid'] == 19): ?>婚姻测算<?php elseif($value['typeid'] == 25): ?>恋爱桃花运
                                                                               <?php elseif($value['typeid'] == 26): ?>一对一亲算<?php elseif($value['typeid'] == 27): ?>姓名测算<?php elseif($value['typeid'] == 28): ?>宝宝起名<?php elseif($value['typeid'] == 29): ?>星座测算<?php elseif($value['typeid'] == 30): ?>剖腹产
                                                                               <?php elseif($value['typeid'] == 31): ?>本命佛<?php elseif($value['typeid'] == 32): ?>数字解析<?php elseif($value['typeid'] == 33): ?>名人八字<?php elseif(($value['typeid'] == 34) or ($value['typeid'] == 41)): ?>流年运程<?php elseif($value['typeid'] == 38): ?>每月运势
                                                                               <?php elseif($value['typeid'] == 61): ?>双色球<?php elseif($value['typeid'] == 63): ?>八字婚姻<?php elseif($value['typeid'] == 64): ?>十年大运<?php elseif($value['typeid'] == 65): ?>六道轮回<?php elseif($value['typeid'] == 66): ?>姓名灵数<?php elseif($value['typeid'] == 70): ?>大乐透
                                                                               <?php elseif($value['typeid'] == 71): ?>八字精批专业版<?php elseif($value['typeid'] == 72): ?>下半年运势<?php elseif($value['typeid'] == 73): ?>2021年运势<?php elseif($value['typeid'] == 74): ?>下半年运势<?php else: endif; ?> 测算</div>
                            <div class="oh_name"><span>订单号：</span><?php echo ($value['ordernum']); ?></div>
                            <div class="oh_name"><span>状态：</span><b class="on">未付费</b></div>
                            <!--<div class="oh_name"><i onclick="return del('&lt;!&ndash;{$value['ordernum']}&ndash;&gt;')" class="del_lis"></i></div>-->
                            <?php if(($value['typeid'] == 0) or ($value['typeid'] == 67) or ($value['typeid'] == 68) or ($value['typeid'] == 69)): ?><a class="oh_look" href="<?php echo U('Bzjp/bzjp_zhifu','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 1): ?><a class="oh_look" href="<?php echo U('Bzhh/bzhf_zhifu','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 13): ?><a class="oh_look" href="<?php echo U('Zwds/zwds_zhifu','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 14): ?><a class="oh_look" href="<?php echo U('Lnyc/lnyc_zhifu','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 15): ?><a class="oh_look" href="<?php echo U('Czsy/czsy_zhifu','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 16): ?><a class="oh_look" href="<?php echo U('Hyzs/hyzs_zhifu','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 17): ?><a class="oh_look" href="<?php echo U('Bzsy/bzsy_zhifu','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 18): ?><a class="oh_look" href="<?php echo U('Bzcy/bzcy_zhifu','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 19): ?><a class="oh_look" href="<?php echo U('Hycs/hycs_zhifu','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 25): ?><a class="oh_look" href="<?php echo U('Lath/lath_zhifu','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 27): ?><a class="oh_look" href="<?php echo U('Xmcs/xmcs_zhifu','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 28): ?><a class="oh_look" href="<?php echo U('Bbqm/bbqm_zhifu','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 29): ?><a class="oh_look" href="<?php echo U('Xzcs/xzcs_zhifu','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 30): ?><a class="oh_look" href="<?php echo U('Pfc/pfc_zhifu','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 31): ?><a class="oh_look" href="<?php echo U('Bzjpbmf/bzjp_bmf_zhifu','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 32): ?><a class="oh_look" href="<?php echo U('Szjx/szjx_zhifu','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 33): ?><a class="oh_look" href="<?php echo U('Mrbz/mrbz_zhifu','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 34): ?><a class="oh_look" href="<?php echo U('Lnyc2019/zhifu','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 38): ?><a class="oh_look" href="<?php echo U('Myys/zhifu','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 41): ?><a class="oh_look" href="<?php echo U('Lnyc2020/zhifu','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 61): ?><a class="oh_look" href="<?php echo U('DoubleColour/zhifu','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 63): ?><a class="oh_look" href="<?php echo U('Bzhy/zhifu','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 64): ?><a class="oh_look" href="<?php echo U('Sndy/zhifu','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 65): ?><a class="oh_look" href="<?php echo U('Sssd/zhifu','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 66): ?><a class="oh_look" href="<?php echo U('Xmls/zhifu','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 70): ?><a class="oh_look" href="<?php echo U('BigLotto/zhifu','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 71): ?><a class="oh_look" href="<?php echo U('ZM071/zhifu','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 72): ?><a class="oh_look" href="<?php echo U('ZM072/zhifu','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 73): ?><a class="oh_look" href="<?php echo U('ZM073/zhifu','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 74): ?><a class="oh_look" href="<?php echo U('ZM074/zhifu','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php else: ?>未知<?php endif; ?>
                        </div>
                        </div>
                        <?php elseif(($value['status'] != 1) and ($value['typeid'] == 40) ): ?>
                        <?php elseif($value['typeid'] == 100): ?>
                        <?php elseif($value['status'] == 2 ): ?>

                        <div class="oh_list"><div class="oh_box"><div class="oh_name">
                            <span>测算名：</span><?php echo ($value['username']); ?> 的 <?php echo ($value['name']); ?> 测算</div>
                            <div class="oh_name"><span>订单号：</span><?php echo ($value['ordernum']); ?></div>
                            <div class="oh_name"><span>状态：</span><b class="oncolor">免费查看</b></div>
                            <a class="oh_look" href="<?php echo ($value['url']); ?>">点击查看</a>
                        </div>
                        </div>

                        <!--<div class="oh_list"><div class="oh_box"><div class="oh_name">-->
                            <!--<span>测算名：</span>&lt;!&ndash;{$value['username']}&ndash;&gt; 的 八字精批 测算</div>-->
                            <!--<div class="oh_name"><span>订单号：</span>&lt;!&ndash;{$value['ordernum']}&ndash;&gt;</div>-->
                            <!--<div class="oh_name"><span>状态：</span><b class="oncolor">免费查看</b></div>-->
                            <!--<a class="oh_look" href="&lt;!&ndash;{:U('Bzjp/jieguoye','',false)}&ndash;&gt;?ordernum=&lt;!&ndash;{$value['ordernum']}&ndash;&gt;">点击查看</a>-->
                        <!--</div>-->
                        <!--</div>-->

                        <?php else: ?>
                        <div class="oh_list"><div class="oh_box"><div class="oh_name">
                            <span>测算名：</span><?php echo ($value['username']); ?> 的 <?php if(($value['typeid'] == 0) or ($value['typeid'] == 67) or ($value['typeid'] == 68) or ($value['typeid'] == 69)): ?>八字精批<?php elseif($value['typeid'] == 1): ?>八字合婚<?php elseif($value['typeid'] == 13): ?>紫薇斗数<?php elseif($value['typeid'] == 14): ?>流年运程<?php elseif($value['typeid'] == 15): ?>测终生运
                                                                                <?php elseif($value['typeid'] == 16): ?>婚缘走势<?php elseif($value['typeid'] == 17): ?>八字事业运<?php elseif($value['typeid'] == 18): ?>八字财运<?php elseif($value['typeid'] == 19): ?>婚姻测算<?php elseif($value['typeid'] == 25): ?>恋爱桃花运
                                                                            <?php elseif($value['typeid'] == 26): ?>一对一亲算<?php elseif($value['typeid'] == 27): ?>姓名测算<?php elseif($value['typeid'] == 28): ?>宝宝起名<?php elseif($value['typeid'] == 29): ?>星座测算<?php elseif($value['typeid'] == 30): ?>剖腹产
                                                                            <?php elseif($value['typeid'] == 31): ?>本命佛<?php elseif($value['typeid'] == 32): ?>数字解析<?php elseif($value['typeid'] == 33): ?>名人八字<?php elseif(($value['typeid'] == 34) or ($value['typeid'] == 41)): ?>流年运程<?php elseif($value['typeid'] == 38): ?>每月运势
                                                                            <?php elseif($value['typeid'] == 40): ?>每日牌运<?php elseif($value['typeid'] == 61): ?>双色球<?php elseif($value['typeid'] == 63): ?>八字婚姻<?php elseif($value['typeid'] == 64): ?>十年大运<?php elseif($value['typeid'] == 65): ?>六道轮回<?php elseif($value['typeid'] == 66): ?>姓名灵数<?php elseif($value['typeid'] == 70): ?>大乐透
                                                                            <?php elseif($value['typeid'] == 71): ?>八字精批专业版<?php elseif($value['typeid'] == 72): ?>下半年运势<?php elseif($value['typeid'] == 73): ?>2021年运势<?php elseif($value['typeid'] == 74): ?>下半年运势<?php else: ?>未知<?php endif; ?> 测算</div>
                            <div class="oh_name"><span>订单号：</span><?php echo ($value['ordernum']); ?></div>
                            <div class="oh_name"><span>状态：</span><b class="oncolor">已付费</b></div>
                            <?php if(($value['typeid'] == 0) or ($value['typeid'] == 67) or ($value['typeid'] == 68) or ($value['typeid'] == 69)): ?><a class="oh_look" href="<?php echo U('Bzjp/jieguoye','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 1): ?><a class="oh_look" href="<?php echo U('Bzhh/jieguoye','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 13): ?><a class="oh_look" href="<?php echo U('Zwds/jieguoye','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 14): ?><a class="oh_look" href="<?php echo U('Lnyc/jieguoye','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 15): ?><a class="oh_look" href="<?php echo U('Czsy/jieguoye','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 16): ?><a class="oh_look" href="<?php echo U('Hyzs/jieguoye','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 17): ?><a class="oh_look" href="<?php echo U('Bzsy/jieguoye','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 18): ?><a class="oh_look" href="<?php echo U('Bzcy/jieguoye','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 19): ?><a class="oh_look" href="<?php echo U('Hycs/jieguoye','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 25): ?><a class="oh_look" href="<?php echo U('Lath/jieguoye','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 26): ?><a class="oh_look" href="<?php echo U('Bzjp/payzfEnd','',false);?>">点击查看</a>
                                <?php elseif($value['typeid'] == 27): ?><a class="oh_look" href="<?php echo U('Xmcs/jieguoye','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 28): ?><a class="oh_look" href="<?php echo U('Bbqm/jieguoye','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 29): ?><a class="oh_look" href="<?php echo U('Xzcs/jieguoye','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 30): ?><a class="oh_look" href="<?php echo U('Pfc/jieguoye','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 31): ?><a class="oh_look" href="<?php echo U('Bzjp/jieguoye','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 32): ?><a class="oh_look" href="<?php echo U('Szjx/jieguoye','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 33): ?><a class="oh_look" href="<?php echo U('Mrbz/jieguoye','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 34): ?><a class="oh_look" href="<?php echo U('Lnyc2019/jieguoye','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 38): ?><a class="oh_look" href="<?php echo U('Myys/jieguoye','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 40): ?><a class="oh_look" href="<?php echo U('Recreation/jieguoye','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 41): ?><a class="oh_look" href="<?php echo U('Lnyc2020/jieguoye','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 61): ?><a class="oh_look" href="<?php echo U('DoubleColour/jieguoye','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 63): ?><a class="oh_look" href="<?php echo U('Bzhy/jieguoye','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 64): ?><a class="oh_look" href="<?php echo U('Sndy/jieguoye','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 65): ?><a class="oh_look" href="<?php echo U('Sssd/jieguoye','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 66): ?><a class="oh_look" href="<?php echo U('Xmls/jieguoye','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 70): ?><a class="oh_look" href="<?php echo U('BigLotto/jieguoye','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 71): ?><a class="oh_look" href="<?php echo U('ZM071/jieguoye','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 72): ?><a class="oh_look" href="<?php echo U('ZM072/jieguoye','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 73): ?><a class="oh_look" href="<?php echo U('ZM073/jieguoye','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php elseif($value['typeid'] == 74): ?><a class="oh_look" href="<?php echo U('ZM074/jieguoye','',false);?>?ordernum=<?php echo ($value['ordernum']); ?>">点击查看</a>
                                <?php else: ?>未知<?php endif; ?>
                        </div>
                        </div><?php endif; ?>
                    <?php else: endif; ?>

                <?php if(($value['typeid'] < 63) and ($value['typeid'] > 41) and ($value['typeid'] != 61)): if(($value['status'] == 1)): ?><div class="oh_list"><div class="oh_box"><div class="oh_name">
                            <span>测算名：</span><?php echo ($value['username']); ?> 的 <?php echo ($value['name']); ?> 测算</div>
                            <div class="oh_name"><span>订单号：</span><?php echo ($value['ordernum']); ?></div>
                            <div class="oh_name"><span>状态：</span><b class="oncolor">已付费</b></div>
                            <a class="oh_look" href="http://wx1.bazijingpi.top/ysyc/index.php/index/Ysyc/jieguoye?orderid=<?php echo ($value['ordernum']); ?>">点击查看</a>
                        </div>
                        </div>
                        <?php else: ?>
                        <div class="oh_list"><div class="oh_box"><div class="oh_name">
                            <span>测算名：</span><?php echo ($value['username']); ?> 的 <?php echo ($value['name']); ?> 测算</div>
                            <div class="oh_name"><span>订单号：</span><?php echo ($value['ordernum']); ?></div>
                            <div class="oh_name"><span>状态：</span><b class="on">未付费</b></div>
                        </div>
                        </div><?php endif; ?>

                    <?php else: endif; endforeach; endif; ?>


            <?php if(is_array($arr)): foreach($arr as $key=>$value): if($value['typeid'] == 100): if($value['status'] != 1): ?><div class="oh_list"><div class="oh_box"><div class="oh_name">
                            <span>测算名：</span><?php echo ($value['name']); ?> 测算</div>
                            <div class="oh_name"><span>订单号：</span><?php echo ($value['orderid']); ?></div>
                            <div class="oh_name"><span>状态：</span><b class="on">未付费</b></div>
                            <a class="oh_look" href="<?php echo ($value['url']); ?>">点击查看</a>
                        </div>
                        </div>
                        <?php else: ?>
                        <div class="oh_list"><div class="oh_box"><div class="oh_name">
                            <span>测算名：</span><?php echo ($value['name']); ?> 测算</div>
                            <div class="oh_name"><span>订单号：</span><?php echo ($value['orderid']); ?></div>
                            <div class="oh_name"><span>状态：</span><b class="oncolor">已付费</b></div>
                            <a class="oh_look" href="<?php echo ($value['url']); ?>">点击查看</a>
                        </div>
                        </div><?php endif; ?>
                    <?php else: endif; endforeach; endif; ?>

        </div>
        <ul class="problem_feedback">
            <!--<li><a class="after_sales_link" href="javascript:;" hidetxt="问题反馈">问题反馈</a></li>-->
            <li><a href="javascript:;" onclick="history.go(-1);" class="btn_back">返回</a></li>
        </ul>
    </div>
    <div class="hot_cs">

            
<?php if(($_COOKIE['channel']== bbhs) or ($_COOKIE['channel']== zd1) or ($_COOKIE['channel']== qudao91) or ($_COOKIE['hideAllHotNum']== 1)): else: ?>

    <h3 class="hotcs_title">热门推荐</h3>
    <ul class="hotcs_list">

        <?php if(($orderidnum == 'Bzcy') and ($_COOKIE['channel']== 'qudao245')): ?><!-- 广告 -->
            <!-- 广告 -->
<div id="ad1"></div>
<script type="text/javascript" src="https://newidea4-gamecenter-frontend.1sapp.com/sdk/prod/h5.v1.0.0.js"></script>
<script>
    qttGame.cpcAd({aid: '7132438', container: 'ad1'})
</script>




            <?php else: endif; ?>

        <!-- 平安广告 -->
        <!--<li  class="hotcs_hb hotcs_item" data-type="zmmx" data-url="https://b.pingan.com.cn/mkt/youhui/1902/cxzshf/index.shtml?campaignid=201902002067&outerid=ou0001563&cid=ci0000007">-->
            <!--<h3 class="h_title">20元话费福利直接领！平安口袋银行新户独享！</h3>-->
            <!--<div class="img_box">-->
                <!--<figure><img src="/zhiming/Public/images/public/pa1.png" class="h_img" alt=""></figure>-->
                <!--<figure><img src="/zhiming/Public/images/public/pa2.png" class="h_img" alt=""></figure>-->
                <!--<figure><img src="/zhiming/Public/images/public/pa3.png" class="h_img" alt=""></figure>-->
            <!--</div>-->
        <!--</li>-->


        <!-- 新增的两个 机遇&财运 -->

        <?php if($_COOKIE['orderidnum']== 'Lnyc2020'): else: ?>
            <li  class="hotcs_hb hotcs_item" data-type="zmmx" data-url="<?php echo U('Lnyc2020/index','',false);?>">
                <h3 class="h_title"><?php echo (cookie('yearName')); ?>年大事太多，你会有什么机遇？神准！</h3>
                <div class="img_box">
                    <figure><img src="/zhiming/Public/images/public/jq1.png" class="h_img" alt=""></figure>
                    <figure><img src="/zhiming/Public/images/public/jq2.png" class="h_img" alt=""></figure>
                    <figure><img src="/zhiming/Public/images/public/jq3.png" class="h_img" alt=""></figure>
                </div>
            </li><?php endif; ?>

        <!-- 2019.12.02 -->
        <?php if($_COOKIE['orderidnum']== 'Lnyc2020'): else: ?>
            <li  class="hotcs_hb hotcs_item" data-type="zmmx" data-url="<?php echo (cookie('shop1_url')); ?>">
                <h3 class="h_title"><?php echo (cookie('shop1_content')); ?></h3>
                <div class="img_box">
                    <figure><img src="/zhiming/Public/images/public/shop/<?php echo (cookie('shop1_typeid')); ?>/1.jpg" class="h_img" alt=""></figure>
                    <figure><img src="/zhiming/Public/images/public/shop/<?php echo (cookie('shop1_typeid')); ?>/2.jpg" class="h_img" alt=""></figure>
                    <figure><img src="/zhiming/Public/images/public/shop/<?php echo (cookie('shop1_typeid')); ?>/3.jpg" class="h_img" alt=""></figure>
                </div>
            </li><?php endif; ?>
        <?php if($_COOKIE['orderidnum']== 'Lnyc2020'): else: ?>
            <li  class="hotcs_hb hotcs_item" data-type="zmmx" data-url="<?php echo (cookie('shop2_url')); ?>">
                <h3 class="h_title"><?php echo (cookie('shop2_content')); ?></h3>
                <div class="img_box">
                    <figure><img src="/zhiming/Public/images/public/shop/<?php echo (cookie('shop2_typeid')); ?>/1.jpg" class="h_img" alt=""></figure>
                    <figure><img src="/zhiming/Public/images/public/shop/<?php echo (cookie('shop2_typeid')); ?>/2.jpg" class="h_img" alt=""></figure>
                    <figure><img src="/zhiming/Public/images/public/shop/<?php echo (cookie('shop2_typeid')); ?>/3.jpg" class="h_img" alt=""></figure>
                </div>
            </li><?php endif; ?>


        <!--<?php if($orderidnum == 'Bzcy'): ?>-->
            <!--<?php else: ?>-->
            <!--<li class="hotcs_hb hotcs_item" data-type="zmmx" data-url="&lt;!&ndash;{:U('Bzcy/index','',false)}&ndash;&gt;?jieguoye=&lt;!&ndash;{$jieguoye}&ndash;&gt;">-->
                <!--<h3 class="h_title">财运十断九验，大师教你转财运，寻得致富之道！</h3>-->
                <!--<div class="img_box">-->
                    <!--<figure><img src="/zhiming/Public/images/public/cy4.png" class="h_img" alt=""></figure>-->
                    <!--<figure><img src="/zhiming/Public/images/public/cy5.png" class="h_img" alt=""></figure>-->
                    <!--<figure><img src="/zhiming/Public/images/public/cy6.png" class="h_img" alt=""></figure>-->
                <!--</div>-->
            <!--</li>-->
        <!--<?php endif; ?>-->


        <!-- ai面相 -->
        <!--<?php if(($_COOKIE['channel']== 'qudao138') or ($_COOKIE['channel']== 'qudao245') or ($_COOKIE['hideOtherCsNum']== 1)): ?>-->
            <!--<?php else: ?>-->
            <!--<li id='aftercheckplatform' class="hotcs_hb hotcs_item" data-type="zmmx" data-url="https://aiface.yixueqm.com/app/index.php?i=2&c=entry&do=index&m=hc_face&pid=10&channel=&lt;!&ndash;{$Think.cookie.channel}&ndash;&gt;">-->
                <!--<h3 class="h_title">AI人工智能看面相，预知凶吉神准，快来试试！</h3>-->
                <!--<div class="img_box">-->
                    <!--<figure><img src="/zhiming/Public/images/public/img_aimx01.png" class="h_img" alt=""></figure>-->
                    <!--<figure><img src="/zhiming/Public/images/public/img_aimx02.png" class="h_img" alt=""></figure>-->
                    <!--<figure><img src="/zhiming/Public/images/public/img_aimx03.png" class="h_img" alt=""></figure>-->
                <!--</div>-->
            <!--</li>-->
        <!--<?php endif; ?>-->


        <!--<?php if(($_COOKIE['hideOtherCsNum']== 1)): ?>-->
            <!--<?php else: ?>-->
            <!--<li class="hotcs_hb hotcs_item" data-type="zmmx" data-url="https://hy.yixueqm.com/interface/index.php/Home/Kaiyun/index?native=2&QTTopenid=&lt;!&ndash;{$Think.cookie.QTTopenid}&ndash;&gt;&channel=&lt;!&ndash;{$Think.cookie.channel}&ndash;&gt;">-->
                <!--<h3 class="h_title">睡眠不好的人有福了，这个东西养生，还旺财运</h3>-->
                <!--<div class="img_box">-->
                    <!--<figure><img src="/zhiming/Public/images/public/img_x01.png" class="h_img" alt=""></figure>-->
                    <!--<figure><img src="/zhiming/Public/images/public/img_x02.png" class="h_img" alt=""></figure>-->
                    <!--<figure><img src="/zhiming/Public/images/public/img_x03.png" class="h_img" alt=""></figure>-->
                <!--</div>-->
            <!--</li>-->
        <!--<?php endif; ?>-->


        <?php if($orderidnum == 'Bzjp'): else: ?>
            <li class="hotcs_item" data-type="zmbz" data-url="<?php echo U('Bzjp/index','',false);?>?jieguoye=<?php echo ($jieguoye); ?>">
                <figure><img src="/zhiming/Public/images/public/img_0.png" class="l_img" alt=""></figure>
                <div class="r_wrap">
                    <p class="r_deriction"><b>八字精批</b>：你的农历生日决定了你是什么样的人？</p>
                    <div class="r_foot">
                        <p data-type="zmbz">
                            <?php echo (cookie('zmbzNumber')); ?>
                        </p>
                        <p>9.7分</p>
                    </div>
                </div>
            </li><?php endif; ?>

        <?php if(($orderidnum == 'Bzhh') or ($_COOKIE['channel']== 'qudao50')): else: ?>
            <li class="hotcs_item" data-type="zmhh" data-url="<?php echo U('Bzhh/index','',false);?>?jieguoye=<?php echo ($jieguoye); ?>">
                <figure><img src="/zhiming/Public/images/public/img_1.png" class="l_img" alt=""></figure>
                <div class="r_wrap">
                    <p class="r_deriction"><b>八字合婚</b>：看你和TA的八字合不合？关系你后半生幸福一定要看！</p>
                    <div class="r_foot">
                        <p data-type="zmhh">
                            <?php echo (cookie('zmhhNumber')); ?>
                        </p>
                        <p>9.6分</p>
                    </div>
                </div>
            </li><?php endif; ?>

        <?php if($orderidnum == 'Zwds'): else: ?>
            <li class="hotcs_item" data-type="zmzw" data-url="<?php echo U('Zwds/index','',false);?>?jieguoye=<?php echo ($jieguoye); ?>">
                <figure><img src="/zhiming/Public/images/public/img_2.png" class="l_img" alt=""></figure>
                <div class="r_wrap">
                    <p class="r_deriction"><b>一生运势</b>：有这4种特征的人一生福报满满，好运自然来！</p>
                    <div class="r_foot">
                        <p data-type="zmzw">
                            <?php echo (cookie('zmzwNumber')); ?>
                        </p>
                        <p>9.7分</p>
                    </div>
                </div>
            </li><?php endif; ?>

        <?php if($orderidnum == 'Bzsy'): else: ?>
            <li class="hotcs_item" data-type="zmsy" data-url="<?php echo U('Bzsy/index','',false);?>?jieguoye=<?php echo ($jieguoye); ?>">
                <figure><img src="/zhiming/Public/images/public/img_3.png" class="l_img" alt=""></figure>
                <div class="r_wrap">
                    <p class="r_deriction"><b>事业测算</b>：人一辈子总是希望能出人头地，教你三招旺<?php echo (cookie('yearName')); ?>年事业！</p>
                    <div class="r_foot">
                        <p data-type="zmsy">
                            <?php echo (cookie('zmsyNumber')); ?>
                        </p>
                        <p>9.5分</p>
                    </div>
                </div>
            </li><?php endif; ?>


        <?php if(($orderidnum == 'Hyzs') or ($_COOKIE['channel']== 'qudao50')): else: ?>
            <li class="hotcs_item" data-type="zmhy" data-url="<?php echo U('Hyzs/index','',false);?>?jieguoye=<?php echo ($jieguoye); ?>">
                <figure><img src="/zhiming/Public/images/public/img_6.png" class="l_img" alt=""></figure>
                <div class="r_wrap">
                    <p class="r_deriction"><b>婚姻走势</b>：婚姻是个坎！民间老师傅告诉你姻缘走势，准的惊人！</p>
                    <div class="r_foot">
                        <p data-type="zmhy">
                            <?php echo (cookie('zmhyNumber')); ?>
                        </p>
                        <p>9.1分</p>
                    </div>
                </div>
            </li><?php endif; ?>

        <?php if($orderidnum == 'Xmcs'): else: ?>
            <li class="hotcs_item" data-type="zmxm" data-url="<?php echo U('Xmcs/index','',false);?>?jieguoye=<?php echo ($jieguoye); ?>">
                <figure><img src="/zhiming/Public/images/public/img_7.png" class="l_img" alt=""></figure>
                <div class="r_wrap">
                    <p class="r_deriction"><b>姓名测算</b>：神奇的姓名吉凶测试，解开运势密码！结果不要太吃惊！</p>
                    <div class="r_foot">
                        <p data-type="zmxm">
                            <?php echo (cookie('zmxmNumber')); ?>
                        </p>
                        <p>9.3分</p>
                    </div>
                </div>
            </li><?php endif; ?>

        <?php if($orderidnum == 'Xzcs'): else: ?>
            <li class="hotcs_item" data-type="zmxz" data-url="<?php echo U('Xzcs/index','',false);?>?jieguoye=<?php echo ($jieguoye); ?>">
                <figure><img src="/zhiming/Public/images/public/img_8.png" class="l_img" alt=""></figure>
                <div class="r_wrap">
                    <p class="r_deriction"><b>星盘测算</b>：印度天文占星大法，康熙皇帝也沉迷的神秘算命术。</p>
                    <div class="r_foot">
                        <p data-type="zmxz">
                            <?php echo (cookie('zmxzNumber')); ?>
                        </p>
                        <p>9.1分</p>
                    </div>
                </div>
            </li><?php endif; ?>

        <?php if(($orderidnum == 'Bbqm') or ($_COOKIE['channel']== 'qudao71') ): else: ?>
            <li class="hotcs_item" data-type="zmqm" data-url="<?php echo U('Bbqm/index','',false);?>?jieguoye=<?php echo ($jieguoye); ?>">
                <figure><img src="/zhiming/Public/images/public/img_9.png" class="l_img" alt=""></figure>
                <div class="r_wrap">
                    <p class="r_deriction"><b>宝宝起名</b>：给孩子起名需要注意的，不要亲手毁掉他的一生！</p>
                    <div class="r_foot">
                        <p data-type="zmqm">
                            <?php echo (cookie('zmqmNumber')); ?>
                        </p>
                        <p>9.6分</p>
                    </div>
                </div>
            </li><?php endif; ?>

        <?php if($orderidnum == 'Pfc'): else: ?>
            <li class="hotcs_item" data-type="zmpfc" data-url="<?php echo U('Pfc/index','',false);?>?jieguoye=<?php echo ($jieguoye); ?>">
                <figure><img src="/zhiming/Public/images/public/img_10.png" class="l_img" alt=""></figure>
                <div class="r_wrap">
                    <p class="r_deriction"><b>剖腹产选日子</b>：富豪、明星为什么选择剖腹产择日？大有学问讲究。</p>
                    <div class="r_foot">
                        <p data-type="zmpfc">
                            <?php echo (cookie('zmpfcNumber')); ?>
                        </p>
                        <p>9.3分</p>
                    </div>
                </div>
            </li><?php endif; ?>

        <?php if($orderidnum == 'Szjx'): else: ?>
            <li class="hotcs_item" data-type="zmhm" data-url="<?php echo U('Szjx/index','',false);?>?jieguoye=<?php echo ($jieguoye); ?>">
                <figure><img src="/zhiming/Public/images/public/img_11.png" class="l_img" alt=""></figure>
                <div class="r_wrap">
                    <p class="r_deriction"><b>号码解析</b>:手机号码大揭秘，11位数暴露了你的.....</p>
                    <div class="r_foot">
                        <p data-type="zmhm">
                            <?php echo (cookie('zmhmNumber')); ?>
                        </p>
                        <p>9.5分</p>
                    </div>
                </div>
            </li><?php endif; ?>

        <!-- ai面相 -->
        <?php if(($_COOKIE['channel']== 'qudao138')): ?><li  class="hotcs_hb hotcs_item" data-type="zmmx" data-url="https://aiface.yixueqm.com/app/index.php?i=2&c=entry&do=index&m=hc_face&pid=10">
                <h3 class="h_title">AI人工智能看面相，预知凶吉神准，快来试试！</h3>
                <div class="img_box">
                    <figure><img src="/zhiming/Public/images/public/img_aimx01.png" class="h_img" alt=""></figure>
                    <figure><img src="/zhiming/Public/images/public/img_aimx02.png" class="h_img" alt=""></figure>
                    <figure><img src="/zhiming/Public/images/public/img_aimx03.png" class="h_img" alt=""></figure>
                </div>
            </li>
            <?php else: endif; ?>
        <!-- 铜鹿 -->
        <?php if(($_COOKIE['channel']== 'qudao138')): ?><li class="hotcs_hb hotcs_item" data-type="zmqf" data-url="https://hy.yixueqm.com/interface/index.php/Home/Kaiyun/index?native=2&QTTopenid=<?php echo (cookie('QTTopenid')); ?>&channel=<?php echo (cookie('channel')); ?>&typeid=3">
                <h3 class="h_title">逐鹿生财铜摆件，汲取中华文化设计，宅安财旺必请</h3>
                <div class="img_box">
                    <figure><img src="/zhiming/Public/images/public/img_tl01.png" class="h_img" alt=""></figure>
                    <figure><img src="/zhiming/Public/images/public/img_tl02.png" class="h_img" alt=""></figure>
                    <figure><img src="/zhiming/Public/images/public/img_tl03.png" class="h_img" alt=""></figure>
                </div>
            </li>
            <?php else: endif; ?>

    </ul><?php endif; ?>
<script>
    // 安卓不显示ai面相
//    if(/android/i.test(navigator.userAgent) || /adr/i.test(navigator.userAgent)){
//        $('#aftercheckplatform').css('display','none')
//    }
    
    $('.hotcs_item').each(function () {
        $(this).on('click', function () {
            var type = $(this).attr('data-type');
            $.getJSON("<?php echo U('Index/zmClick','',false);?>", {
                type: type
            }, function (data) { //回调入库
            });
            window.location.href = $(this).attr('data-url');
        })
        this.onclick = function (e) {
            var type = this.getAttribute('data-type');
            $.getJSON("<?php echo U('Index/zmClick','',false);?>", {
                type: type
            }, function (data) { //回调入库
            });
            window.location.href = this.getAttribute('data-url');
        }
    })

    $('.r_foot').each(function () {
        var item = $(this).children()[0];
        item.onclick = function (e) {
            e.stopPropagation();
            var type = this.getAttribute('data-type');
            if (this.classList.toggle('on')) {
                $.getJSON("<?php echo U('Index/zmClickZ','',false);?>", {
                    type: type
                }, function (data) { //回调入库
                });
                this.textContent++;
            } else {
                this.textContent--;
            }
        }
    })
</script>
<style>
    .hot_cs {
        border: none;
        border-top: 0.2rem solid #F3F3F3;
        box-sizing: border-box;
        background-color: #ffffff;
        margin: 0;
    }

    .hotcs_title {
        font-size: 0.3rem;
        color: #333333;
        padding: 0.2rem;
        border-bottom: 0.2rem solid #f5f5f5;
    }

    .hotcs_list {
        list-style: none;
        padding: 0 0.2rem;
        padding-bottom: 0.2rem;
    }

    .hotcs_item {
        display: flex;
        -webkit-tap-highlight-color: transparent;
        color: #333333;
        align-items: center;
        margin-bottom: 0.4rem;
    }

    .hotcs_item:nth-last-child(1) {
        margin-bottom: 0;
    }

    .hotcs_item .l_img {
        width: 1.78rem;
        height: 1.4rem;
        vertical-align: middle;
    }

    .hotcs_item .r_wrap {
        margin-left: 0.24rem;
        flex: 1;
        height: 100%;
    }

    .hotcs_item .r_wrap .r_deriction {
        font-size: 0.32rem;
        color: #333333;
        margin-bottom: 0.1rem;
    }

    .hotcs_item .r_wrap .r_foot {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .hotcs_item .r_wrap .r_foot p:nth-child(1) {
        padding-left: 0.36rem;
        background: url('/zhiming/Public/images/public/icon_dianzan.png') 0% 50% no-repeat;
        background-size: 0.24rem;
        font-size: 0.22rem;
        line-height: 2;
        color: #A78A5F;
    }

    .hotcs_item .r_wrap .r_foot p:nth-child(2) {
        padding: 0rem 0.2rem;
        border: 0.02rem solid #FFBE4B;
        border-radius: 0.1rem;
        font-size: 0.2rem;
        color: #FFCC71;
    }

    .hotcs_item.hotcs_hb {
        display: flex;
        flex-direction: column;
        margin-bottom: 0.3rem;
        align-items: flex-start;
    }

    .h_title {
        width: 100%;
        font-size: 0.32rem;
        color: #333333;
        font-weight: bold;
        position: relative;
        margin-top: 0.2rem;
    }

    /* .h_title::after{
        content:'立即查看';
        width:1.15rem;
        height:0.32rem;
        line-height: 0.32rem;
        text-align: center;
        color:#ffb430;
        border-radius: 0.12rem;
        border:0.02rem solid #ffb430;
        display: inline-block;
        font-size:0.22rem;
        position: absolute;
        right:0;bottom:0;
        margin-bottom:0.04rem;
    } */
    .hotcs_item .img_box {
        display: flex;
        padding: 0.2rem 0;
        border-bottom: 0.01rem solid #eaeaea;
    }

    .h_img {
        width: 2.08rem;
        height: 1.5rem;
        vertical-align: middle;
    }

    .hotcs_item .img_box figure {
        margin-right: 0.1rem;
    }

    .hotcs_item .img_box figure:nth-last-child(1) {
        margin-right: 0;
    }
</style>

    </div>
    <footer class="footer_severs">

        <!--<a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.mrkj.sm"><img src="/zhiming/Public/images/public/xz_banner.png" width="100%"/></a>-->
<!--<p  style="text-align: center;">知命文化 | 爱和好运，与你相伴 ！</p>-->
<!--<p  style="text-align: center;">客服QQ: 443108802  微信公众号： 知命</p>-->
<?php if(($_COOKIE['channel']== qudao91) OR ($_COOKIE['channel']== qudao130) OR ($_COOKIE['channel']== qudao172) OR ($_COOKIE['channel']== qudao179) OR ($_COOKIE['channel']== qudao181) OR ($_COOKIE['channel']== qudao191) OR ($_COOKIE['channel']== qudao192) OR ($_COOKIE['channel']== qudao194) OR ($_COOKIE['channel']== qudao195) OR ($_COOKIE['channel']== qudao196) OR ($_COOKIE['channel']== qudao197) OR ($_COOKIE['channel']== qudao198) OR ($_COOKIE['channel']== sjg) OR ($_COOKIE['channel']== lzss) OR ($_COOKIE['channel']== qudao227) OR ($_COOKIE['hideKefuNum']== 1)): ?><p  style="text-align: center;">客服QQ号：2307821835</p>
    <?php elseif($_COOKIE['hideBottomNum']== 1): ?>
    <?php elseif(($_COOKIE['channel']== qudao170)): ?>
    <p  style="text-align: center;">客服电话：13925442366</p>
    <?php elseif(($_COOKIE['showQrCodeNum']== 1)): ?>
    <p style="text-align: center;">客服微信号：qumingxiaoxue</p>
    <?php elseif(($_COOKIE['channel']== qudao50) or ($_COOKIE['channel']== qudao64) or ($_COOKIE['channel']== bbhs)or ($_COOKIE['channel']== zd1) OR ($_COOKIE['channel']== qudao245)): ?>
    <?php else: ?>
    <?php if($_COOKIE['channel']== qudao71): ?><p  style="text-align: center;"><img src="/zhiming/Public/images/public/qrcode_for_gh71.jpg" style="width:140px; height:140px;" /></p>
        <?php elseif($orderidnum == Bbqm): ?><p  style="text-align: center;"><img src="/zhiming/Public/images/public/qrcodeBbqm.png" style="width:140px; height:140px;" /></p>
        <?php elseif($_COOKIE['channel']== qudao59): ?><p  style="text-align: center;"><img src="/zhiming/Public/images/public/qrcode_for_gh59.jpg" style="width:140px; height:140px;" /></p>
        <?php elseif($_COOKIE['channel']== qudao60): ?><p  style="text-align: center;"><img src="/zhiming/Public/images/public/qrcode_for_gh60.jpg" style="width:140px; height:140px;" /></p>
        <?php elseif($_COOKIE['channel']== qudao61): ?><p  style="text-align: center;"><img src="/zhiming/Public/images/public/qrcode_for_gh61.jpg" style="width:140px; height:140px;" /></p>
        <?php elseif($_COOKIE['channel']== qudao82): ?><p  style="text-align: center;"><img src="/zhiming/Public/images/public/qrcode_for_gh82.jpg" style="width:140px; height:140px;" /></p>
        <?php elseif($_COOKIE['channel']== qudao33_1): ?><p  style="text-align: center;"><img src="/zhiming/Public/images/public/qrcode_for_gh137.jpg" style="width:140px; height:140px;" /></p>
        <?php elseif(($_COOKIE['channel']== qudao136) or ($_COOKIE['channel']== qudao185) or ($_COOKIE['channel']== qudao186) or ($_COOKIE['channel']== qudao187)): ?><p  style="text-align: center;"><img src="/zhiming/Public/images/public/qrcode_for_gh137.jpg" style="width:140px; height:140px;" /></p>
        <?php elseif($_COOKIE['channel']== qudao137): ?><p  style="text-align: center;"><img src="/zhiming/Public/images/public/qrcode_for_gh137.jpg" style="width:140px; height:140px;" /></p>
        <?php elseif($_COOKIE['channel']== qudao81): ?><p  style="text-align: center;"><img src="/zhiming/Public/images/public/qrcode_for_gh81.png" style="width:140px; height:140px;" /></p>
        <?php elseif($_COOKIE['channel']== qudao199): ?><p  style="text-align: center;"><img src="/zhiming/Public/images/public/qrcode_for_gh199.png" style="width:140px; height:140px;" /></p>
        <?php elseif($_COOKIE['channel']== qudao26): ?><p  style="text-align: center;"><img src="/zhiming/Public/images/public/qrcode_for_gh26.jpg" style="width:140px; height:140px;" /></p>
        <?php elseif($_COOKIE['channel']== D001): ?><p  style="text-align: center;"><img src="/zhiming/Public/images/public/qrcode_for_ghD001.png" style="width:140px; height:140px;" /></p>
        <?php elseif($_COOKIE['csType']== Bbqm): ?><p  style="text-align: center;"><img src="/zhiming/Public/images/public/qrcode_for_bbqm.png" style="width:140px; height:140px;" /></p>
        <?php else: ?>
        <p  style="text-align: center;"><img src="/zhiming/Public/images/public/qrcode_for_gh.jpg" style="width:140px; height:140px;" /></p><?php endif; ?>
    <p  style="text-align: center;">长按二维码加客服微信</p><?php endif; ?>
<!--<p  style="text-align: center;">客服微信号：zhimingpingtai</p>-->
<?php if(($_COOKIE['channel']== qudao50) or ($_COOKIE['channel']== qudao64) or ($_COOKIE['channel']== zd1) OR ($_COOKIE['channel']== qudao245)OR ($_COOKIE['hideBottomNum']== 1)): else: ?>
    <p  style="text-align: center;" style="text-align: center;" >在线服务时间: 周一至周五9:00-18:00<span style="color:#0374F8"></span></p><?php endif; ?>



    </footer>
<script src="/zhiming/Public/js/jquery.min.js"></script>
<script src="/zhiming/Public/js/layer/layer.js"></script>
<script>

    $('.btn').on('click',function(){
        if($('.input').val() == ''){
            layer.msg('请输入查询内容');
            return false;
        }
        var orderid=$('.input').val();
        $.getJSON("<?php echo U('Index/select','',false);?>?keyword="+orderid,{number:1},function(data){
            if(data==1){
                // 查询失败
                setTimeout(function(){
                    layer.closeAll('loading');
                    layer.msg('该订单不存在或未支付');
                },500);
            }else{
                // 查询成功
        setTimeout(function(){
             layer.closeAll('loading');
             layer.msg('查询成功', {icon: 1});
            setTimeout(function(){
                document.getElementById('form_select').submit();
            },1000);
        },500);
            }
        });
    });

//    function del(data){
//        layer.confirm('您确定删除该订单吗？', {
//            btn: ['确定','取消'] //按钮
//        }, function(){
//            layer.msg('订单已删除', {icon: 1});
//            setTimeout(function(){
//                location.href="<?php echo U('Index/delete','',false);?>?orderid="+data;
//            },1500);
//        });
//    }

    var orderid='<?php echo ($orderid); ?>';
    var csName='<?php echo ($csName); ?>';
    var csUrl='<?php echo ($csUrl); ?>';

    if(orderid && csName){
        setInterval(function(){
            $.getJSON("<?php echo U('Index/selectLoop','',false);?>",{orderid:orderid},function(data){
                if(data){
                    console.log(data);
                    if(csName=='YSYC'){
                        location.href='http://wx1.bazijingpi.top/ysyc/index.php/index/Ysyc/jieguoye?orderid='+orderid;
                    }else{
                        location.href=csUrl;
                    }
                }else{
                    console.log(data);
                }
            });
        },1500);
    }

</script>
</body>
</html>